package com.bincloud.vue.admin.dao.mapper.ums;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.bincloud.vue.admin.model.dto.ResourceDTO;
import com.bincloud.vue.admin.model.entity.UmsUser;
import org.apache.ibatis.annotations.Param;

import java.util.Set;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author bincloud, mvpzhou
 * @since 2022-02-16
 */
public interface UmsUserMapper extends BaseMapper<UmsUser> {
    /**
     * 获取资源列表
     *
     * @param username 用户名
     * @return 资源列表
     */
    Set<ResourceDTO> getResourceSets(@Param("username") String username);
}
